package com.geekhalo.admin.domain.app.disable;

import com.geekhalo.lego.core.command.CommandService;
import com.geekhalo.lego.core.command.CommandServiceDefinition;
import com.geekhalo.lego.core.command.CommandMethodDefinition;

import com.geekhalo.admin.domain.app.WebApplication;
import com.geekhalo.admin.domain.app.WebApplicationCommandRepository;

import com.geekhalo.admin.domain.app.disable.DisableWebApplicationCommand;
import com.geekhalo.admin.domain.app.disable.DisableWebApplicationContext;
import java.lang.Void;


@CommandServiceDefinition(domainClass = WebApplication.class, repositoryClass = WebApplicationCommandRepository.class)
public interface DisableWebApplicationService
    extends CommandService<DisableWebApplicationCommand, Void> {

    @Override
    @CommandMethodDefinition(contextClass = DisableWebApplicationContext.class)
    Void execute(DisableWebApplicationCommand command);
}
